# cd /opt/boot256
# docker build -t boot256 .
# docker run -d -p 12560:12560 --name szx-boot256 boot256:latest
# Use the official maven/Java 8 image to create a build artifact.
# https://hub.docker.com/_/maven
FROM maven:3.5-jdk-8-alpine as builder

# maintainer information
MAINTAINER nancyPa szx2006s@qq.com

ADD target/app.jar /root/app.jar

# Run the web service on container startup.
ENTRYPOINT ["java","-jar","/root/app.jar"]